<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        canvas {
            margin: 0 auto;
            border: 1px solid red;
            display: block;
        }
        #btn-box{
            border: 1px solid red;
        }
    </style>
</head>
<body>
    12
    <img src="./a.jpg" alt="" width="200" height="200">
    <div id="btn-box"></div>
    <canvas id="canvas" width="500px" height="500px">浏览器不支持</canvas>
    <!-- <script src="./画直线.js"></script> -->
    <!-- <script src="./贝塞尔曲线.js"></script> -->
    <!-- <script src="./颜色.js"></script> -->
    <!-- <script src="./透明度.js"></script> -->
    <!-- <script src="./虚线.js"></script> -->
    <!-- <script src="./绘制文本.js"></script> -->
    <!-- <script src="./绘制图片.js"></script> -->
    <!-- <script src="./状态的保存和恢复.js"></script> -->
    <!-- <script src="./旋转.js"></script> -->
    <!-- <script src="./变形矩阵.js"></script> -->
    <!-- <script src="./合成.js"></script> -->
    <!-- <script src="./裁剪路径.js"></script> -->
    <!-- <script src="./动画.js"></script> -->
    <script src="./时钟.js"></script>
</body>
</html>